package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;


//答案表
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "options")
public class Options implements Serializable {

    private ObjectId id; //主键, 选项编号
    private ObjectId questionsId; //试卷id
    private String option;//选项
    private  Integer score; //选项代表的分数值


}
